{include file="public/header" /}
<style>
    body{
        overflow: hidden;
    }
    .page{
        height: 100%;
    }
</style>
<link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
<script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
<div class='page'>
    <table border="0" cellpadding="0" cellspacing="0" class="ds-default-table">
        <thead>
        <tr>
            <th colspan="6">基本信息</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <th>优惠券名称：</th>
            <td>{$voucher_info.voucher_title}</td>
           <!-- <th>品牌：</th>
            <td>{$voucher_info.b_names}</td>-->
            <th>启用状态：</th>
            <td><?php if($voucher_info['status']==1){ ?>
                启用
                <?php }else{ ?>
                停用
                <?php }?>
            </td>

        </tr>
        <tr>
            <th>金额：</th>
            <td>{$voucher_info.voucher_price}</td>
            <th>多少元使用：</th>
            <td>{$voucher_info.voucher_limit}</td>

        </tr>
        <tr>
            <th>优惠券有效期：</th>
            <td>{$voucher_info.use_date}天</td>
            <th>开始时间：</th>
            <td><?php echo date('Y-m-d H:i:s',$voucher_info['voucher_startdate']);?></td>

        </tr>
        <tr>
            <th>结束时间：</th>
            <td><?php echo date('Y-m-d H:i:s',$voucher_info['voucher_enddate']);?></td>
            <th>类型：</th>
            <td><?php echo $vou_type_content[$voucher_info['vou_type']];?></td>

        </tr>
        <tr>
            <th>优惠劵使用范围</th>
            <td><?php if($voucher_info['vou_type']==3){ ?>
                通用
                <?php }else{ ?>
                <?php echo $voucher_info['vou_gcname'];?>
                <?php }?>
            </td>
            <th>创建时间：</th>
            <td><?php echo date('Y-m-d H:i:s',$voucher_info['add_time']);?></td>

        </tr>
        <tr>
            <th>发行数量：</th>
            <td>{$voucher_info.count}</td>
            <th>积分多少可换：</th>
            <td>{$voucher_info.score_count}</td>
        </tr>
        <tr>
            <th>供应商分担比例：</th>
            <td>{$voucher_info.g_ratio}%</td>
            <th>运营商分担比例：</th>
            <td>{$voucher_info.y_ratio}%</td>


        </tr>
        <tr>
            <th>商城分担比例：</th>
            <td>{$voucher_info.z_ratio}%</td>


        </tr>
    </table>
</div>